package io.simple.core;

import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.util.Map;

/**
 * Created by rehak on 2/11/14.
 */
public class RemoteRequestContext extends RequestContext {

    private final InetSocketAddress socketAddress;

    public RemoteRequestContext(String requestPath, long timestamp, Map<Integer, String> pathGroups, InetSocketAddress socketAddress) {
        super(requestPath, timestamp, pathGroups);
        this.socketAddress = socketAddress;
    }

    public InetSocketAddress getSocketAddress() {
        return socketAddress;
    }
}
